import * as Cesium from 'cesium';
import gsap from 'gsap';

import LightWallMaterialProperty from './material/LightWallMaterialProperty';
export default class LightWall {
  constructor(viewer) {
    this.lightWallMaterialProperty = new LightWallMaterialProperty();

    this.entity = viewer.entities.add({
      name: 'lightWall',
      wall: {
        positions: Cesium.Cartesian3.fromDegreesArrayHeights([
          113.3051, 23.099, 200.0, 113.3101, 23.099, 200.0, 113.3101, 23.109,
          200.0, 113.3051, 23.109, 200.0, 113.3051, 23.099, 200.0,
        ]),
        material: this.lightWallMaterialProperty,
        // outline: true,
      },
    });
  }
}
